#ifndef ABSTRACTIOSOCKET_H
#define ABSTRACTIOSOCKET_H

#include <stdint.h>

#include "network/AbstractSocket.h"
#include "threading/Mutex.h"

class AbstractIOSocket : public AbstractSocket
{
public:
            AbstractIOSocket();
    virtual ~AbstractIOSocket();

    int     read(void* buffer, uint32_t size);
    int     write(const void* buffer, uint32_t size);

private:
    Mutex   mutex_;
};

#endif // ABSTRACTIOSOCKET_H
